<?php
declare (strict_types = 1);

namespace app\myuser\controller;

use app\myuser\BaseController;
use app\myuser\request\IndexRequest;

class Index extends BaseController
{
    public function index(IndexRequest $indexRequest)
    {
        var_dump($indexRequest->all());
        return '您好！这是一个[myuser]示例应用';
    }

    public function roles(IndexRequest $indexRequest)
    {
        var_dump($indexRequest->param());
        return '获取角色列表';
    }
}
